package shujia.day19.lambdademo3;

public class FilterStaffWithAge implements FilterStaff{
    @Override
    public boolean filterStaffWithCondition(Staff staff) {
        return staff.getAge()>19;
    }
}
